package com.whw.fy.service;

import com.whw.fy.entity.Emergency;
import com.whw.fy.entity.Message;
import org.apache.ibatis.annotations.Param;

import java.text.ParseException;import java.util.List;

public interface EmergencyService {


    Message deleteByPrimaryKey(Integer emergencyId);

    Message insert(Emergency record);

    Message insertSelective(Emergency record);

    Message selectByPrimaryKey(Integer emergencyId);

    Message updateByPrimaryKeySelective(Emergency record) throws ParseException;

    Message updateByPrimaryKey(Emergency record);

    Message selectAll();

    int batchInsert(List<Emergency> list);

    Message selectByEmergencyClazzIdAndEmergencyClazzSkcd(int clazzId, int clazzSkcd);

    Message selectAllByEmergencyClazzIdAndEmergencyStudentIdAndEmergencyClazzSkcd(Integer emergencyClazzId,Integer emergencyStudentId,Integer emergencyClazzSkcd);

    Message selectAllByEmergencyMold(@Param("emergencyMold")Integer emergencyMold);
}


